luci-mod-network: dhcp.js: don't fail on not existing interface
authorJo-Philipp Wich <[email protected]>
Thu, 8 Jul 2021 16:55:47 +0000 (18:55 +0200)
committerJo-Philipp Wich <[email protected]>
Tue, 12 Oct 2021 21:01:23 +0000 (23:01 +0200)
commit16e807edc9babfbe103ebf4c3bb463773734ee52
tree06f2b7f02e853032010757d38840aec53f28bcce
parent8b02f53a3763b722f56f2f92aa3c1c640c43ada1
luci-mod-network: dhcp.js: don't fail on not existing interface

Fixes: #5177
Fixes: 7e56289538 ("luci-mod-network: improve static DHCP lease validation")
Signed-off-by: Jo-Philipp Wich <[email protected]>
(cherry picked from commit f57d20bffffda026ab203d328a859a3f38c0c8d0)
modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js